/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package worms;

import java.util.Random;

/**
 *
 * @author isen
 */
public class Life extends Item {
    private Random nombreLife=new Random();
    private int vie;
    private int nombreMap=0;

    public Life(GameGrid carte) {
        super(carte);
    }
    
    public void add_Life(){
        vie=1+nombreLife.nextInt(10);
        this.nombreMap++;
        apparaître();
    }
    
    public void delete_Life(){
        disparaître();
        this.nombreMap--;
    }
    
    
    
}
